import { Module } from '@nestjs/common';
import { AppController } from './app.controller';
import { AppService } from './app.service';
import { ChatController } from './chat/chat.controller';
import { ChatService } from './chat/chat.service';
import { ChatSessionService } from './chat/chat-session.service';
import { ModelsController } from './models/models.controller';
import { ModelsService } from './models/models.service';
import { OllamaService } from './ollama/ollama.service';
import { DatabaseModule } from './database/database.module';

@Module({
  imports: [DatabaseModule],
  controllers: [AppController, ChatController, ModelsController],
  providers: [AppService, ChatService, ChatSessionService, ModelsService, OllamaService],
})
export class AppModule {}

